<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .w{
            background-color: pink;
            /* overflow: hidden; */
            zoom: 1;
        }
        .w::after{
            content: ".";
            clear: both;
            display: block;
            height: 0;
            overflow: hidden;
            visibility: hidden;
        }
        .one{
            width: 100px;
            height: 100px;
            background-color: rgb(230, 22, 22);
            float: left;
        }
        .one2{
            width: 250px;
            height: 120px;
            background-color: rgb(8, 192, 69);
            float: left;
        }
        .one3{
            width: 400px;
            height: 200px;
            background-color: rgb(9, 46, 211);
            float: left;
        }
    </style>
</head>
<body>
    <div class="w">
        <div class="one"></div>
        <div class="one2"></div>
        <div class="one3"></div>
    </div>
</body>
</html>